<div class="row">
<div class="large-12 columns">
<hr class="clearfix">
<div class="panel callout"><h6>Over The Counter Payments</h6></div>
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<td style="text-align:right;">Qty</td>
			<td>Description</td>
			<td style="text-align:right;">total</td>
			<td>Date of Payment</td>
			<td>Transacted By:</td>
		</tr>
	</thead>

	<?if($otcp):?>
		<?foreach($otcp as $v):?>
		<tr>
			<td style="text-align:right;"><?=number_format($v->quantity,1,'.',',');?></td>
			<td><?=$v->remarks;?></td>
			<td style="text-align:right;"><?=$v->ammt_paid;?></td>
			<td><?=$v->payment_date;?></td>
			<td><?=$v->user_trans_name;?></td>
		</tr>
		<?endforeach;?>
	<?else:?>
		<tr>
			<td colspan="4">No payments made</td>
		</tr>
	<?endif;?>
</table>
</div>
</div>